[HVM] Use AMD's isntruction-length decoder for VMX as well as SVM
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 25 Sep 2006 09:22:17 +0000 (10:22 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 25 Sep 2006 09:22:17 +0000 (10:22 +0100)
commite3ec96309bd2c56e87505738b77040c575954f16
tree4289d791d8261ffaab393e19436053316643bffb
parent3bcf69a3b6fe4ce4f9cb36f69015a4b2f78c864e
[HVM] Use AMD's isntruction-length decoder for VMX as well as SVM
MMIO decode. The VMX-defined instruction-length info field is not
valid for use during most page faults. Hence we have to obtain the
instruction length the slow-and-stupid way.

This *will* go away when we throw away the wretched MMIO emulator.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/hvm/Makefile
xen/arch/x86/hvm/instrlen.c [new file with mode: 0644]
xen/arch/x86/hvm/platform.c
xen/arch/x86/hvm/svm/Makefile
xen/arch/x86/hvm/svm/instrlen.c [deleted file]
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/vmx/vmx.h